import request from '@/utils/request'

export const addLayoutCarousel = (addForm) => {
  return request.post('dictionary/dsLayoutImg/addLayoutCarousel', {
    priority: addForm.priority,
    url: addForm.url
  })
}

export const getLayoutCarouselData = () => {
  return request.get('dictionary/dsLayoutImg/getLayoutCarouselList')
}

export const delLayoutCarouseById = (id) => {
  return request.delete('dictionary/dsLayoutImg/delLayoutCarouseById?id=' + id)
}
